package com.css.fxfzypg.modules.resultManagement.reportManagement.controller;

import com.css.fxfzypg.modules.resultManagement.reportManagement.VO.ReportManagementVO;
import com.css.fxfzypg.modules.resultManagement.reportManagement.service.ReportDataService;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.util.Map;

@RestController
@Validated
@RequestMapping("/report")
public class ReportDataController {

    @Resource
    ReportDataService reportDataService;
    @PostMapping("/getReportData/{id}")
    public Map getReportData(@PathVariable String id) throws IllegalAccessException {
        Map<String,Object> map=reportDataService.getReportData(id,null,null);
        return map;
    }
}
